I\'m working on a Python app that reads messages from serial port, these messages are inserted in a treeview, I have a thread to manage the incoming messages, but I have a p