Added lists of active and completed downloads, which currently do not update with progress changes—that's the next step.  There are two mutexes involved now, on each of the active and completed downloads lists.  Those are now passed through large chunks of the program, so that they're available to all necessary parties.