Cleaned up pause-menu code