Cleanup and transition from cBitArray to BitArray
BitSet fixes; more to go...