Changed saved file format from .jpg to .gif to fix bug where .gif files with transparency would be corrupted when saved as .jpg.

The saved images are now larger, but it seems a fair tradeoff for now.  We can come back to this problem if we need to conserve space.