Small improvement when the connect button is hit

Sets the IP and port field in the GUI to not editable when the connect
button is hit