Changed the default thread pool size.

Added documentation for changing the threadpool size and adjusting ulimit on linux.

Addresses issue #555.