switching to object keys stored in the box2d objects instead of direct pointers

see #12 (and eventually #6)