Reconfigured the GUI to allow TCP communication