Move serialization code to Score; fix bugs when highscores is empty.