Fix findMatchingImage, cleanup logging