Prevent exception while quiting (racing condition). Refactored menu view.
Activated config button. Refactored menu view and input module.