Actually made it multithreaded this time.