Moved ip/port to settings file. Minor client fixes