Global variables move to globals infrastructure.
Cleanup, std::vector instead of wxArray used in ChartGroupUI.