debug logs.
comment. look at changes to ui.js.