Fixed: creation of more CPU-threads than specified on command line.
Fixed: badly written processing loop for GPU worker.