Accidentally removed the window property for the app delegate.