fixes #126: adjust carets on_post_save to counter trim_trailing_white_space_on_save
assorted fixes