support for fillbackground flag and fixed handling of unknown colors (they should default to black instead of transparent)
reduce derpiness
improvements to animated image support