Introduce the helper activeWindow().