p4 legend now only shows with p4 tables, and legend clearly annotated.