Track all windows and their pids.