Fix bug when same file is requested rapidly. Reformat code
Merge branch 'v2' of github.com:JimiSmith/BitmapDownloader into v2