mine now works well as a wrapper around jpdg

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>