Captions now added when a background image is replaced.
A few extra changes to make it work online properly (mainly just to the way in which files reference each other and a few fixes to the "flat" file system approach). 

Files uploaded from the Web as a result of an image search now use the various fopen, fread, fwrite methods as they seem to work better than 'copy'.

Also include library for EXIF editing in JPEGS so that now gets carried around with the overall package.