Added safety check on numberInterleaved before opening spectrumSelect window, to prevent crashing