changed textformat to private var so assign would be retained during ini...

...tialize()