Added alternative indexing and legend; fix header widths when only one level of criteria exist