Renames the UiManager to ChartManager, and its interface to IChartManager, doptions due to the new usage of the chart descriptor and fix a problem with the properties due to the scaling thing. Also makes some cleaning.