Rewrote the info functions into one (show_info_generic()) to reduce code duplication. The chart code will later be rewritten the same way.