Fix #97 - progress events might arrive _after_ the success callback

Don't accidentally recreate the progress bar if we are unlucky (bug
only visible in Firefox)
Merge pull request #98 from geeksville/fixprogress

Fix #97 - progress events might arrive _after_ the success callback