added some swank OSX notification stuff