Fix lots of small sending bugs.