misc: documentation and style changes, refs #379