Algorithm for displaying elapsed time since reset is no longer a pile of garbage