Added Exit button to Main menu (closes #20). Removed some warnings