correct typo accross comments and object names; implement cleanup of uncommitted rows