Fixed autoscrolling for when you are sending a message. Also changed how the media element is added when a stream is caught.