Fixed a number of bugs with commit based comments.
Fixed more bugs with commit based comments.