fix now properly logging to TD
fix typo in variable name
change TD debug mode on prod to true
refactor view chart ui