Main menu functionality, worked on back end of pause menu