update to LuaEvaluatorAPI with "close"

Bug fix is only partial, but Lua state is closed on Quit. This
"deregisters" all variables/functions. Need to add same thing to
save/load; also need to set deleted vars to nil in VariableManager.