code: def main():
      
      conf.init(), db.init(conf.DbPath)
      inqueue = LineQueue(sys.stdin).queue
      outqueue = type("", (), {"put": lambda self, x: print("\r%s" % x, end=" ")})()
      if "--quiet" in sys.argv: outqueue = None
      if conf.MouseEnabled:    inqueue.put("mouse_start")
      if conf.KeyboardEnabled: inqueue.put("keyboard_start")
      start(inqueue, outqueue)
docs: Entry point for stand-alone execution.