Keeping track of startup time
Now measures time taken for event execution

Measures minimum, maximum and average time for how long it took to
execute an event function.
Reduced default poll timeout value

The default value is now 1 picosecond (10^(-12) seconds) instead of 0.1
second.
Added watchdog command

Shows uptime and event statistics. Either shows the total minimum,
maximum and average time for each event type, or (if you specify the
event type) more specific stats (again, min, max & average execution
time) for each event of an event type.