Qthread

Replaced multiprocessing module with qthreads
Elaborated a bit, but best to leave it for later when we make segmentation pluggable. Ok for now?