refactored debug calls - source is no longer required, tables are output as single messages instead of spanning multiple lines, calling directly into CHAT_SYSTEM instead of passing through d() global