Compute relevant values for display.