User-selectable thread count is added.