def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def update_join():
  update_on()
  try:
    _thread.join()
  except:
    update_off()