added some debugging assertions to the read buffer for overlows