Fix ai, add messages, and text box carrot