Your top GIF should work now - I've added in code to work with disposal methods 1 & 2 (not done 3 yet but not seen any examples of it so far)
The bottom GIF contains XMP metadata! It looks like it's information not need for simple image decoding - I just need to bypass it but not worked out how yet