Close app when main window closed.
Add hasNote to PDFAnnotation
Display annotation tool menu just below the button