TextBlockTextRenderer: fixes for null elementFormat and null text (closes #960) (closes #961)