removing unneeded cruft
added fix for gif quantizebuffer error