main menu exit button & pattern step framework