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

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.