Rework inboxtransitioncontroller.
Pep8 cleanup.