thorium: don't over-aggregate messages

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: use queue instead of a tree for the flushing timeline

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>