bug fix to last "Lua functions" commit

On user function evaluation error, cannot pass error into re-evaluate
old functions or it won't run.
Also added Update HWI button enable to successful user function change.