improved plot_spectra
misc