fix error handling for giflib 4.1.6 and add a PrettyPrintError function.
fix vs filters