SpecialLockdb: Use Config instead of globals