Some more work on the side pane
(re)wrote some javascript, uncommented logbox and added chat functionality to it