Added loading indicator to ImageWidget and ChartWidget