tightened up dupd implementation
minor comments/docs
implemented word → boolean generator translation
docs/comments for stdgen