Started work on tree view.
Fixes to tree view.
Added join channel function.
Fixed join.
Auto-expand channels with users in them.
Auto-expand channels.