refreh open files when spark gains focus
Merge pull request #1700 from devoncarew/devoncarew_refresh_files

refresh open files when spark gains focus
merge to master