Added logic to mark messages as read upon sending a response. Need to change this to doing it upon giving the chat window focus, but this will do for now