rtf: \u command support, code cleanup