Fixed releaase method in graphs.Cleanup in OpenGLSImVIew.Updates to ScriptSelected. Fixed handling of excpetions in EnvirommentScheduler.