Bug fix: could quit with unsaved files

If the unsaved files weren't selected the "do you want to save?" dialog
wasn't happening.