Fixed text merge function bitmask issue
It's fixed, but only in the non-XOR path. Still need to fix the XOR path and test it. Also need to have some kind of character count embedded in the stream, else it is unknown (or maybe this gives away too much).