Fixed bug with same highscore and removed some warnings.