Added pause menu, slightly modified