Fixed a bug which resulted in Timer events being ignored.
Added blink functionality to the StateMachine
Changed the queue so it only has one lock
Removed debug code as it borks the emulator
Improved blinking
Improved showing of readings
Various small fixes
Various bugfixes