cleaned up the registry madness in simulator_python