PostRun needs to use a cross-thread message to talk to post_run_display, so this is the plumbing for it. Made display in calculatestatistics work + updated tests