give weight to head & center, more debug output, account for missing joints