PF-166 Storing main window position, size and state