Chat improvements

When the doctor closes the chat, the patient doesn’t send messages
anymore, but still can see the content.
The chat scroll goes to the bottom when there is a new message.
Debug removals.