Added Tokenizer#has_tokens. Append newline after tree output