GameOver conditions and game state, plus bugfixes