dd multiprocessing queue in addition to the multithreadding implementation:

pylab stuff does not work with multithreadding
code blocks do not work with multiprocessing
-- so both implementation should stay