Added missing window decalration to AppDelegate.