Remove MPI dependency in plot_spectrum; add plot_thresholds.