Fixed token best match selection. Added clone method to Parser. Better error reporting.