removes multithreading features from this branch.