Moved the xor function to the Turing module.
Don't need self.index, either.
These modules aren't used here.
Logging tivo_open() failure from NPL(); consolidate tivo_open() logging.