Added in notification function, made a few more edits.
Cleaned up applescript a little more.
Who knows, more changes.
More error checking, etc.