Made diagnostics output less obtrusive.