!7 p-experiment { autoRestart(); new Map latestAppearance; Set last = null; repeat with sleep 1 { long time = sysNow(); Set things = thingsOnScreen(); for (S s : setMinusSet(things, last)) latestAppearance.put(s, sysNow()); last = things; L list = sortedByMapLookupDesc(things, latestAppearance); done2_always(time, "Found: " + list); consoleTitle(l(elements) + " " + joinWithComma(list)); } }