replace Debug.Assert for release builds; validation

clean up usings