Fixed a subtle bug in the event handler: typing a printable character generates two events (PressKey first, TextEntered second). If PressKey pushed a new GameState, the newly created GS got the TextEntered event.