Main window saves geometry properly.