Fixed time-related bugs

Rewritten the bruteforce crack time calculation (not the hash table
one) to minimise floating point computation errors. In a silly way, it
turns out the original bug was due to wrong time prettify methods. So I
checked and corrected all of them.