Bug 833823. We need to register for plugin updates even if we don't have a widget. r=mats a=lsblakk

Also add a weak frame check here since we could destroy the frame. This problem existed before this patch, so we are fixing two things here.
Bug 843247 - Allow external links to be opened in private windows in perma-private mode. r=ehsan a=bajaj