moved all the spectral map toolbuttons to declarative