Added compression.  Fixed duplicate image references to only reference one image file.