gzip feature and minor fixes

yup