Commit mode fixes

A couple of minor fixes.

Thanks again for maintaining this excellent mode.