Refactored ConversationPanel constructor