Sort of working now, JPEG embedding algorithm needs a lot of work.