changed game loop for multiple game states; added displayTimer, displayText, and updateScreen functions