assorted fixes

Found a few bugs in working on the correspondence pipeline that I think are worth getting fixed in isolation.
this allowed for `foo_different_name.jpg` to be selected as a texture for `foo.obj` - the `.` means the stem of the filename must be an exact match.