use a map to find GhostEvents by a pointer to Note.