Small typo fixes.
Added a remove method to demux.
Replaced a long local var type decl w/ auto.
Moved publisher events into dedicated module.