Fixed crash when trying to execute invalid state transitions.
Added driver for the real safecode box, and switched the daemon to using it. Prototype stack using the real keypad and test lighting/sound all working now.