improved GetFindString
fixed handling rest when inserting register contents
Improve folding