Do not re-build the shell when not required in Groovy, Scala and Javash.
Improve java function evaluation: do not require the user to catch any
exception.
Found bug in cancelExecution.