Reduced function calls in LabComparator.compare.
Fixed debug traces.