finish off jpeg decoder

still has a ton of unknowns, but it decodes lena correctly, so hey