fixed highscore overriding bug

+ base for stats: graphs and charts