public void deletePeerAgentAt(int i) {
		if (i < 0 || i >= agents.size())
			return;
		if (getPeerAgentAt(i) == destination)
			destination = null;
		peerList.deleteItemAt(i);
		if (bSimRunning)
			agents.get(i).shutdownServices();
		agents.remove(i);
		refresh();
	}