respect cancel on unsaved files
(on quit or git restart) fix #531
make 2.17.1 bugfix release
Merge pull request #1 from wbsoft/v2.17.x

v2.17.x