Fix case where script is interrupted during result building
Add pr function
Place sendReport function at top of script
Cosmetic: Change description of package ctime