Made level-up upgrades into a submenu of their own, and fixed an issue with level-up code