QWindowContext / QWindowFormat refactor.