Fixed a bug with Console.log

+ And other multithreading tings