Hi you will have to check for air leaks and the idle control valve can get sticky, another thing is the coolant temp sensor can make the engine run bady, when its faulty.
if the odometer lights are flashing off and on then you will have a fault with the L E D s and will need to be removed and repaired, Hope this helps.
BMW Technician
18 yrs as an auto technician 8 yrs with BMW,In England, Australia and New Zealand. Part Time tutor