Make sure the window isn't hidden
Merge pull request #4 from jeremygrenier/master

Make sure the window isn't hidden