Stop typing on disconnect
Fix layout on non-WebKit browsers