Reduce CPU when idle
Introduced an idle flag that will bypass processing and invoke a sleep state in the main loop, if we know for sure that nothing needs to be done. Reduces CPU usage from ~3% to ~1.3% on hidevideo.
Merge pull request #164 from microwavesafe/dev

Reduce CPU when idle