mandelbrot: made worker independent from queue