Load gif header
add debug message
Fix bug in reading Image Descriptor.