Fix JS and CSS bugs.
Bubble up joined + connected states to UI.