changes and fixes. see comment.

added text id control
changed return mode from 4 to 12 to support chat filters' tell chime
fixed string patterns