Fix situation with no data.
Improve output.
Retab.
Remove trailing whitespace.
Comment debug. Rewrite space in database keys to '_'.