Fixed a bug when program wouldn't close unless the game was in the EXIT
state and a close requested. Now either will close the game.