Added more code for looking through the transaction log.
Updating some sifting code for setting the last time (broken).