Replace QThread with threading.Thread.
Add changes file for #5719, #5733, #5734.