Added improvement to resize the columns to accomodate the heading text.