Corrected behavior for heirarchical goals.
Spellchecking
Rearranging
fix mktime import
Only calculate the hash once, otherwise the modification of the datum will make duplicate entries.
Added a --reset-previous-time argument.