Added dns resolution to connect window; added config values to define the ip and port displayed in the connect window.