fixed node URL extraction, put -1 marker on queue at end so that threads will finish after all documents are processed