Tidied up the output formatting

Output from the actual calculation and from "list" now much improved but there's a
huge problem with the #0 #1 references - if stored in commands then they get stale
after the next calc and can become self-referential.