Reorganizing the pprint code.
Tidyup to improve the code generally, at the action list display specifically.