Merge pull request #337 from doublec/textops_null_dereference