Fixing crash if any views had unsaved files
Merge pull request #2 from epipho/fix-unsaved-files

Fixing crash if any views had unsaved files