Better handling of progress.gif