master: Refactored sentence generation into a ChatSentence, to allow more complex manipulation of sentences before output.