pygame_plotter thread