fix case where user quits brackets and an image is open while one or more text files are dirty in the working set. Previously Brackets would quit w/o prompting the user to save. That is now fixed.