add some comments
update a comment
clean up comments and remove some #if0'd code.