Cleaned the global data for the scenario editing between xmltable and scenario designer. Fixed an old bug in the scenariocanvas class.