Some Valgring error fixes and activated the multithreaded console.