Prevent TypeError on poorly timed logouts, make channel notifications more useful, and properly handle highlighting after nick changes