[MIN] renamings
[FIX] XQuery, correct stack trace for tail function calls