thorium: add option to profile actor events visually

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
scripts: improve R script that plots actor profiles

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