Drop unused comment line.
Put 'printf' block between 'preamble' and 'entry'.

This is the control flow order, and it's easier to read.
Drop all printing from tesla_update_state.

This is the first step in cleaning up our debug/testing infrastructure.
Drop a DEBUG_NAME #define.
More informative print_{*} event handlers.
Update tests to use new test/debug update.
Trivial: whitespace.