changes to use OS X notifications.