oscplot.c: Stop the plot properly before destroying it
Before a plot gets destroyed, it's drawing function should be stopped and all resources should be freed.
This fixes the bug that prevents user from successfully loading a running plot profile while an initial plot is running. The newly created plot is failing to display data properly by displaying a still image and not continuous captured data.