Changes to publish_pir

Use timestamp as string instead of encoded in name
Function run() now calls processEvents() (had forgotten that)
More useful debugging prints