continued debug view for 3d pose
cleaned code