Images are now read in from and written out to files.  This is still pretty sloppy, but I wanted to get something done today.