Support for OSX/Cocoa - First commit - Experimental