Remove unneeded default configurations, create default UIWindow.