debug console: pre tag removed margin
debug info: added escape param to _show_key_val_table()