refactoring, fullscreen + mouse fixes, started server leaderboard code