Support window.parent in the one-window case.