Improved: Window properties persisted and restored when application starts