Fixed Bug 1970. When resizing the plot data the existing data was destroy
before the GUI had been notified of the reallocation. This created a window
of time in which the GUI might access invalid data. The deletion is now
postponed till the GUI has been notified.