working in cleaning configuration
added function to prompt for Emacs exit