merged in my code changes from another repo.  includes documentation on passing new fields to the notification box builder (allTabs, closeprev, browserWindow, tab) and two new functions (hasNotification, clearNotifications).  split out the notfication box builder into a separate function to allow for the allTabs field to be usable