bug fix - added ! to window for rootViewController