Sorted out some trimming.
Added channel user awareness to start to address #3.
Fixed copy/paste error in example plugin.