(a) -> yes, as said, the debug output should probably be removed
(b) -> yes, safeNormalize should probably only be callable with a fallback