docs and minor cleanup