fixed compile errors in HighScores class

cleaned up the logic some and plugged it in to the rest of the
application as well