Added TopScores functionality. Bug fixes.