minor documentation and CS fixes