Added txtcmp and more comments.