fixed up lookahead code for tokeniser (valgrind didn't like it)
engine version 1.3.4