Fix nick change handling.
Web UI: Show error popup if socket disconnects.
Removed redundant channel state tracking from irc.js.