Mutli-threading python with Tkinter,root.mainloop()