Include the new poll text in the chat export function. Refactor some chat type constants. Also fixes empty lines in the export chat file.