cleaned up empty sbufs a bit
cleaned up error printing