Could you describe idMap here (hopefully also described where paneState.marked is described, but that isn't near enough)?