minor changes to the notification engine

hid the applescript, added support for getting output from the run
method, simplified the sc (string compare) method
added javadocs