V2
Merge https://github.com/IL90/Linear-oscillator_QThread