physic: make sure the body hasn't beed destroyed before using its functions
physic: log_debug on shape's gc
physic: make sure joint are destroyed correctly