Refactored to use the json data files produced by caption_gui.py
Add some protection around EXIF metadata so it only attenots to
read from JPG or TIFF files.
Add a voting function to the main dialog. Now can rank the images
in the json data files