More javadoc and polishing NewNoteWindow.