cleanup - rename
tracing creation of xquery expression - works only for some expression (tracing code created by compiler), not for other (tracing code created directly)
various hacks in attempt to track construction of expressions