experiements with the tokenizer
added cursor positioning via mouse click