rename mainloop_thread -> gui_thread