Corrected minor code sample error in README.
Added a few missing comments.