Fix the issue with threads with no timestamp, make the duration variable prettier