Add debug output
Pass info to fsm, and fix context error.