public TraceThread getLastThread(Trace trace) {
		long lastKey = getLastThreadKey();
		if (lastKey == -1) {
			return getEventThread(trace);
		}
		return trace.getThreadManager().getThread(lastKey);
	}
Get the last thread stepped by this schedule in the context of the given trace

@param trace the trace containing the source snapshot and threads
@return the thread last stepped, or the "event thread" when no steps are taken
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/time/schedule/TraceSchedule.java