minor doc updates, remove commented unused code