Batch processing.

I haven't tested this yet.  Chris, if you have time, can you provide some feedback on the approach.