Add some comments, and tweak some documentation.
"function" isn't a keyword (or even a built-in).
"pass" here doesn't do anything or inform anyone.
Pass TaskThreads just the queue; they don't need the whole containing manager, and it's a Law of Demeter violation.
Merge pull request #1215 from erikrose/task-thread-tweaks

Task thread tweaks