Separate concerns regarding messages

The Addon script only relays simple strings to the inline content
script, which then takes care of updating the DOM.
simplify msg code
fix typos
use var instead of let
add breaks
Merge pull request #12 from asymmetric/separate-concerns

Separate concerns