Fix up LZ77 compression code and prepare v1.0.3