dispatchTitleChanged();
Task connect = createTask("Connecting to " + getServer() + ":" + getPort(), "Verify connection settings validity");
if(!cs.isInitialized()) {
if(PluginManager.getEnableGui()) {
new NewProfileWizard(cs).displayAndBlock();
}
}
// Check if CS is valid
while(cs.isValid() != null) {