Still trying to split up the menu code.