Read through all code; fixed small details, mostly comments.