Fixed multithreading. Now really on multiple CPUs.
Fixed output.