layout fixes and app exit button