print_db_data: Remove some dead code

Not likely to be of any help with restoring this. Add a TODO.
Rename a variable

At some point this could be used (maybe for color/animation overlays)