bug fixes. Issue with huge writes - slowing them down seems to fix the problem