A BoolArray::exchangeArray() and small fixes