Cleanup diagnostic prints, extract max indent level to constant