New implementation of QueueMemory, old wrappers kept for later eliminati...

...on