Fixed performance issues in thread pool - the parallel collision dispatcher is now actually faster than the singlethreaded one!