Revert "multi threading.... mostly"

This reverts commit f731aa72e99cde3b2ad5b37b34f546c95ae9b933.