compress, stata export and minor bug/doc fixes