The weight of the thread is to be neglected; the thread will not twist when being pulled.
It might be useful to know that
$$
2\int \sqrt{1+x^2} \, \mathrm dx = x\sqrt{1+x^2} + \operatorname{arcsinh} x \,,
$$where $\operatorname{arcsinh} x\equiv \ln\left(x+\sqrt{1+x^2}\right)$.