Overhaul bhottu's threadsearching module so that it has far less overhead (uses threads instead of processes)