Notification Dependent Interval

Will now only start the interval when notifications are present; then clear it after the last notification is removed.  Also added caching of some of the jQuery elements in update() instead of repeatedly creating them.