osx: Some enhancements for Emacs 24.4 and up
osx: Switch fullscreen behaviour on OS X version