Partial commit of nextgen rewrite

* Important fix in content script require loading.
* Message frame (clocks and notifications) mostly working again.