Added a method for testing whether a GameState is dead, and code in GameWindowMainLoop that clears dead states.