Some cleanups and added some .trim() calls on option fields that seam reasonable to trim extra white space from, mainly the siteList.
Reduce permissions needed from the fully blown "tabs" permission to only "activeTab"