Remove not needed constructor.
Fix race condition where data is cleared while the plot is still drawing.