Multithreading is now enabled again!

Added back multithreading.