dsp thread improvements