Code cleanup and enhancements of Cell ChartEditor