Improving preview images.    General cleanup.   Fixing stack overflow issue in GridChart.