Fixing Gif displaying in the browser (missing identifier)
Adding control of GIF animation looping.