Add top 10 leaderboard and fix some bugs