Fixed end of game

-End of game turns off onClicks
-renamed some methods