Add # of threads as parameter, and build trees on blocks without outgroups

Also adds debug info in the critical section, which definitely needs
to be removed once it's no longer necessary.
Add # of threads as parameter, and debug info on simple/single-copy blocks