Change boost.bind to lambdas.
Move constants to the top of the source file.
Reorder signals.

First channel is up and then it’s ready to transmit.
Textual and formatting cleanup.