Remove necessity to define exit() function for class fsm.State.
Bug fixes.