lua backend: fixed regression

'x untransformed' was no longer available (in float format)
improved codeexample support in LUA (no longer needs tmp file)
repaired LUA related regressions