replace_text & edit_specific_rows added, refactorings.