code cleanup and documentation fixes. 
3 files changed