Parameterize default values for thread pool attribute definitions.

And assorted cosmetic changes.