Remove the previous thread stack size hack, and add a slightly better one.
This new hack sets a default thread stack size of 1 MB (more in line with
Linux), but allows programmers to override that down to the minimum stack
size. This is subject to change again, but this is far better than the
hack that was previously in place.