Finished pause menu and pause functionality.