Code for barn-growl utility for OS X.