added modified LightningDB.dll, cleanup