style: modernize indentation
improve error on bad messages sent to ports
Allow raw JavaScript values through ports (experiment)