Editor proxy

This fixes problems catching events on the editor and uses a polyfill to support messageChannel in firefox.