Hopefully fixed, with the assistance of a second pair of eyes.
Merge branch 'master' of https://github.com/peternewman/jdeb