Added closing of game.