Added msg Queues to provide a sane buffering interface