Thread control v0.4 alfa