fix core dump. Shouldn't use a null deflater object... Remove some unneeded galib stuff