Fixed KDF iter setting. Fixed resume on locked DB.