Inconsequential changes of comments, and changed the variable 'timid' to 'tmid'