Finished multithreading, with significant performance increase.
changed depth limit