Force usernames to lowercase during creation and login
Rework connection status and message count

Restore pending message count in title tag. Use a rounded rectangle
for connection status, styled according to the current state. Indicate
when the disconnected state occurred.