Added guards on game state starting/ending.