minor edit to sbuff_reset
minor edit to sbuff_xchgw
minor edit to sbuff_xchg