added ability to configure the number of threads in the tread pool via the config form