tokenizer: fixed whitespace
tokenizer: handle \0 in text states in PLAINTEXT