Cleaned up LuaInterface mess