window: Use else instead of an early return for brevity/clarity