fix project seems hang on start up.

simple solution. declare window property so storyboard can use this property to make key and visible :+1: