ui: Use new functions to display global db stats.