updated save window position on shutdown, should handle min/maximize correctly and shutdown