Register a listener to be called for each message with type
Send a message to non-content scripts
Message the active tab of the currentWindow
Recv a message from runtime.onMessage and send to all listeners
Register a listener to be called for each message with type