qt gui: Remember window size on quit, restore it on start