Removed pointless threading, speed-up was not worth it