added attribute to distinguish pre-plotting state
small change
more informative error messages durig mutex acquisition failures