Fixed hand closing issue, adding lots of comments.