BugFix: Scope error
BugFix: checking for removed PieCharts corrected