Made the menus work better and not make new function calls on the stack for every menu action without ever exiting a menu function call until the program exited