Line 294.  I've gotten rid of the oldurl variable.  In the case where there are actually two separate image blobs, we're now releasing the old URL while the old image is still displayed. But in my experience this is safe to do.