updated text completer to remove comments and similar
update the tokens regularly when a new word was typed