Tokenizer: customizable failure notice

Modified: core.js