add some uis and a gui thread and a worker thread in Main.py