Got exiting menus working correctly.