General cleanup
Ensure we don't emit double buffering events
Fixed test for new test infrastructure
Changed time update period to 500ms (plus indentation cleanup)
Use setFullScreen from the device API rather than style sheets in setSource
Cleaned up todos