Commiting before moving to branch
Fixed problem with multiple images

Was a mixture of problems. One of which was the global color table not
being deep copied, so the appending of "CLEAR" and "EOI" was actually
stacking each time we got an image (index 8,9 and 10,11 and 12,13...)
which caused a lot of issues when reading in the LZW stream