some initial work on spotting differences
a bit of a refactor and better image diffing