Merging a couple trivial changes.
Reset generation number appropriately.

The generation number is used to report the number of restarts that have
occurred since supervision began. The number of restarts is the generation
number minus one.