Fix simple generics warning.
Add ability for builder to control source of threads (ThreadFactory) for error detection and queue processing and make defaulting of ThreadFactories consistent with batch usage.