Fix error in handling of strings in binary patterns
Fix error in handling of strings in binary patterns

Also took the chance to add some more necessary comments.

rvirding/lfe,jjhoo/lfe,jjhoo/lfe,rvirding/lfe,lfe/lfe,lfe/lfe