Basics of FindAndReplace encoding working correctly.  Needs cleaning up and applying to other find and... operations.