Qthread

Replaced multiprocessing module with qthreads
Perhaps also replace the "window" phrase here with resegmentation, so it's clear what's happening?