Fixed a bug with unsaved files and closing the file that Atom opens.
Fixes #9