tightened some memory bugs around tokenizer
- probably from the strbuf->membuf switch