Isn't there a logic issue here? This walks the entire cache that now contains the namespaces for *all* scripts that have been run, so there will be 'leakage' from variables from one script into another... Unless I'm misunderstanding something, this seems like a problem in the current logic.