Improved loading of plots with a large number of curves into the plot
widget.