save/restore window settings

(geometry, pos, toolbars, etc...)