changed from idle handler to timer to reduce cpu usage

Ok lets try this again.