renames str->letters more accurately as str->elms
adds fn to adjust cursor pos