Fix misuse of undo() in tests: do not do it if the runtime is loaded using require().
Mass file rename.
Proper popLocalTraceScope() implementation.
Fix tracing of arguments, return values at global scope, outside any function.

Introducing a new sentinel entry on the local tracing stack that handles such values.
Clarify docs, tests.