Corrected exit behavior and added an additional window without menu.