implemented some bug fixes within the code

It still doesn't save the highscore properly though