fixed saving upon alt f4, Command + Q.  This closes issue 43.