Unresolved bug where debug LED turns on but no state transition.
Complete debug.