code: def update_text(self):
          
          self.write()
          try:
              newtext = self.text_queue.get_nowait()
              self._text = newtext
          except Empty:
              pass
docs: Write the current text, and check for any new text changes.
              This also updates the elapsed time.