Save window position on exit (centered by default)

Fixes #194
Merge pull request #753 from msteiger/mbts_dev

Save window position on exit (centered by default)