Separate out debug routine(s).
Split out, add CSV.
Add CSV support.