Unify a bunch of debug fail messages to a single point. More needed.