moved exit button to basicgui