Some commenting
New method for writing missingRecords to the idb. This should reduce the transaction efforts and especially helps firefox.