Remove old debugging messages from AnnotationDialog.
Add debugging rule to coding standards.