editing cursor fsm, added more debug info to statemachine
whoops, wrong name on that function