Mutlithreading
Mutlithreading and tweaks