Fixed a couple of minor bugs.
Separated onGameStateChanged for multiplayer and singleplayer.