Fixed an issue where the close button on the window didn’t accurately reflect the saved state of the currently active document.
Changed the argument type of the documentIsEdited: method to require a PLDocument subclass that conforms to the PLDocumentSubclass protocol.