A few fixes to queue based notification.

Probably try regular cond_var based notification soon.
Adding spsc blocking queue.
Adding queue of queues structure.