Fixed some function comments and string messages. Also removed some unnecessary code comments.