Now saves highscore every minute, aswell as if the game closes correctly
it saves the game and highscore.
Fixed some warnings.