Progress on pipelining requests and managing queues.

Dropped pipeline.lua for now.