Minor cleanup of comments.  Added cleaner shutdown of GeneratorTask(s) when the generator is stopped.