Added salted hashes, fixed tally saving