Small fixes that enable threads.
Eliminating some putStrLns