chg: more debug messages wrt. streambufs