Fixed the plotting file for spectra. Added a few bells and whistles.