add setting to save window size on exit
Merge pull request #55 from kived/save-window-size

save window size on exit