GlobalOptions.addProperty("proxyUser", (String) result.get("proxyUser"));
GlobalOptions.addProperty("proxyPassword", (String) result.get("proxyPassword"));
GlobalOptions.addProperty("account.name", (String) result.get("account.name"));
GlobalOptions.addProperty("account.password", (String) result.get("account.password"));
GlobalOptions.addProperty("default.server", (String) result.get("server"));
<BUG>GlobalOptions.addProperty("player." + (String) result.get("server"), (String) result.get("tribe"));
logger.debug("Creating initial profile");</BUG>
UserProfile p = UserProfile.create(GlobalOptions.getProperty("default.server"), GlobalOptions.getProperty("player." + GlobalOptions.getProperty("default.server")));
GlobalOptions.setSelectedProfile(p);
GlobalOptions.addProperty("selected.profile", Long.toString(p.getProfileId()));

GlobalOptions.addProperty("proxyUser", (String) result.get("proxyUser"));
GlobalOptions.addProperty("proxyPassword", (String) result.get("proxyPassword"));
GlobalOptions.addProperty("account.name", (String) result.get("account.name"));
GlobalOptions.addProperty("account.password", (String) result.get("account.password"));
GlobalOptions.addProperty("default.server", (String) result.get("server"));
GlobalOptions.addProperty("player." + result.get("server"), (String) result.get("tribe"));
logger.debug("Creating initial profile");
UserProfile p = UserProfile.create(GlobalOptions.getProperty("default.server"), GlobalOptions.getProperty("player." + GlobalOptions.getProperty("default.server")));
GlobalOptions.setSelectedProfile(p);
GlobalOptions.addProperty("selected.profile", Long.toString(p.getProfileId()));
