Minor progress on JPEG decoding