Factoring out reusable logprob display routine.