Make TextDisplay.Set thread safe