FourState (FSM): Fix a crash when attempting to call debugPrint before stateIndex is defined.
Merge pull request #1 from Astron/bugfix/FourState-crash-fix

FourState (FSM): Fix a crash when attempting to call debugPrint before s...