Bugfixes for a timediff between work and all time