Allowed generator to take on more than one program.
Added defaultPWG variable.
Expanded documentation.