If you're still at it - or maybe for the next one - see if HTTrack does what you need. Failing that, Bulk Image Downloader is really effective for downloading entire galleries quickly.