Changes from @llamerr for gifs in iframes
Better progress bar