Fixed runtime errors, addition of partitioning thread passes basic commit/abort test