Have pretty print width match the rest of the code.
Don't use intermediate pointer.
More descriptive name.
More pretty printing. Also, only refine the mesh before
the last step, not on the last step.