Added more manual control via command line options, added code comments, added better lzma-adaptive handling