Better frame support via ownerDocument. Standardised event callback args.