Fixed auto-hiding of windowed windows on OS X.
Removed OS X display capturing (for now).

Fixes #378 (poorly).
Merge branch 'upstream/master' into develop