improved switching between Spectrum Viewer and PSME main panel