Still working on to make the GUI not freeze when listening to TCP connections