Almost working version. We witnessed a bug where the buffer disappeared when the consumeTime was very low. Also we need to add more thread stats. Luke is very happy