cleaning up the sdcGUIenv when loading a script fails, because it might
be in an awkard status