fix lint warnings

most of these warnings were related to comments and underscores in
function or var names.  This change makes no breaking changes, since
none of the named functions were being exported.  All existing tests pass.