Remove duplicated code in the thread switcher.
Remove duplicated code in the thread switcher.

varjagg/Mezzano,AugustusHuang/Mezzano,AugustusHuang/Mezzano,rvedam/Mezzano,froggey/Mezzano,froggey/Mezzano,varjagg/Mezzano,rvedam/Mezzano