Simplify by using 'iframe.contentWindow'

The parent can access the iframe's window object through `iframe.contentWindow`, which greatly simplifies getting references.