no msgbox when user exits

working on #4 and #7