new error mode

Detect when Facebook returns ill formatted error (not correct JSON
error)
download thread pool

translate process function into a thread utilizing a pool of threads to
download files.