Fix getLabels
Move header and footer out of columns

Closes #8.
Use column layout for legend

Closes #20.