renamed to slb2unpack and removed references to PUP.
more error checks. Fixed potential read bug since fread return not checked.
recoded header reading to be more flexible