introduce queues
small fixes for the documentation of the buffer api