Fix basename, remove extension.
Add both images in debug mode.
Change search_image signature.