A number of fixes for the spectrum.delete back end.
Authored by: bugman 2011-09-15
Parent: [r14649]
Child: [r14651]