Fixed some errors regarding the buffers and queues. Added simple message acknowledgement mechanisims