improved gdkpixbuf error handling