some DB leaks were fixed, clock fragment bugfixes and minor improvements