Reduce ctx-sort memory; rename readbuf_X() -> read_buf_X()