Support progressbar Id for XML output
Don't re-invent the wheel of progress reporting

(fixes #44)