[[ Unicodify ]] Fix some typos in rtf text generation
Fix some incorrect checks against nil in Win32 deployment