Add variant of replicated dict program.
Tweaks.
Various code cleanup for replicated dict.
Comment tweak.