Nicer event and timestamp generation