save window width/height on exit