let nextWindowId = 1; export function getNextWindowId() { return nextWindowId++; }