public void initialize() {
settings.writeFile();
salt = settings.readSetting("salt");
// must be blocking search of all ports, but only once!
Discovery discovery = new Discovery();
comport = discovery.getMotors(this);
light = discovery.getLights(this);
state.set(State.values.httpPort, settings.readRed5Setting("http.port"));
state.set(State.values.muteOnROVmove, settings.getBoolean(GUISettings.muteonrovmove));
initialstatuscalled = false;
pendingplayerisnull = true;