Replace the UIWindow subclass with a UIView

Having multiple UIWindows is becoming more troublesome.