[Gooey] Converted debug.getregistry () calls to _R indexes.