a big overhaul to show padding
scripted update of code from master at d4ccbbd a big overhaul to show padding