Supported LZMA compression and fixed some bugs