cgates:minor cleanup and doc revision