refactored the message display related code from RoomView to its own class. much nicer.