Mac: Manage menubar and dock as FULLSCREEN_DESKTOP windows become/resign key.
Updated to build on Mac OS X 10.7 with Xcode 4.6