using Cocoa instead of Carbon for OSX
Merge pull request #8 from MattTuttle/master

using Cocoa instead of Carbon for OSX