minor fixes to peak label toggling and buttons for wavelength editor windo