Removed the thread local scoping. Now adding Visual and EvalContext to the Xslt context directly. This is accessible within XSLT functions.
Cause validation on next button.