updated new buffer handling when not saved to a working directory (default user directory for now), run cleanup() method on exit command