Working queue

As per usual, comments are welcome :)

Fixes #380


I agree that WIPRegistry is ugly. What about RunningJobsRegistry or CurrentJobsRegistry?