JavaMonitorFramework: bug in dead time calculation

The time in the log was wrongly declared or calculated. Calculation is fixed to show the correct value (seconds since last registration).