def METHOD_NAME(root_path):
    # called from .../launch/flowbladesinglerender script
    gtk_version = "%s.%s.%s" % (Gtk.get_major_version(), Gtk.get_minor_version(), Gtk.get_micro_version())
    editorstate.gtk_version = gtk_version
    try:
        editorstate.mlt_version = mlt.LIBMLT_VERSION
    except:
        editorstate.mlt_version = "0.0.99" # magic string for "not found"
    # Get XDG paths etc.
    userfolders.init()
    # Set paths.
    respaths.set_paths(root_path)
    # Load editor prefs and list of recent projects
    editorpersistance.load()
    mltinit.init_with_translations()
    global test_thread
    test_thread = GPUTestRenderThread()
    test_thread.start()