update CacheHooks patch
fixed getnamevalue cache
fixed invalidator
allow codeline to use indexed local variables when deserialised from xml