Fix visibility of mac window during creation.
Merge pull request #6 from glennw/mac-vis-fix

Fix visibility of mac window during creation.