Doubled JPEG embedding capacity, fixed malloc bug.