Support cyclic references in luacontroller memory tables, prohibit usage of goto statement (bugs reported by Nore).