Change 16581

Robert Cowham
Standardised processing and formatting.
Made python 2/3 compatible.
These need automated testing!
29 edited 1 added 0 deleted
Tip: Use n and p to cycle through the changes.