Cleanups

Renaming *Up to *Send and *Dn to *Recv, so it's easy to follow which
reference handles which direction.

Fix if-then-else formatting to be Haskell98.