added a check for CompXZ table already existing
removed home-made xz stuff
initialized a variable to 0