Why? Just do this when a new chat is rendered. Wasn't the whole point to reduce CPU cycles? This code makes me think otherwise. New strategy!