Save files on focuslost
Merge pull request #2 from spacekat/patch-1

Save files on focuslost