Here is the diff
https://gist.github.com/peabody124/5125906
it's a lot of changes so I'd recommend just reading transmitter_control.c mostly like a new file.  Since I'm looking for mostly comments on architecture you can even view it as a bit of a black box.