Fixed #38 - No thread error in DirtCapacity branch