Keep focus on input when (dis)connecting the client. Closes #65.