remove comments, add explanations of hacks, use constant for LABELS_OFF