This creates a method to close associated Document Picture-in-Picture windows of a Document, which will close itself if the document is a Document PiP document, or it's Document PiP window if it's a document that has opened a Document PiP window.
It then monkeypatches Document's abort method to call the new method. This ensures:
1) Document PiP windows cannot be navigated, since the navigation will abort the current document, closing the PiP window
2) Document PiP windows are closed when their opening documents are navigated or closed, since either will abort the opening document and therefore close the Document PiP window
This creates a method to close associated Document Picture-in-Picture windows of a Document, which will close itself if the document is a Document PiP document, or it's Document PiP window if it's a document that has opened a Document PiP window.
It then monkeypatches Document's abort method to call the new method. This ensures: 1) Document PiP windows cannot be navigated, since the navigation will abort the current document, closing the PiP window 2) Document PiP windows are closed when their opening documents are navigated or closed, since either will abort the opening document and therefore close the Document PiP window
This fixes both #65 and #66