activeTab.url may be undefined in FF add on

sometimes, the add-on would fail to load if the url of the activetab wasn't established.  Big thanks to @zombie for the majority of this patch, and clarifications.  More [background](https://bugzilla.mozilla.org/show_bug.cgi?id=975623) on the issue.