maybe we should not call oncancelled since the task is still running
print help text
first prototype of PDF output