Fix bad assumption: UIApplication's delegate does not always respond to -window. The method is @optional.
Merge pull request #203 from adamjernst/master

Fix bad assumption: UIApplication's delegate does not always respond to -window