registry: change _prepare_new_global() to return the global in a less awkward way
the global is stored internally and the returned ref is only useful in the WpProxy code, not in the registry_global() event
the global is stored internally and the returned ref is only useful in the WpProxy code, not in the registry_global() event