Fixing GET_SHAPE macro
Additional error checking
Fixing physics_CreateObject parameters (the previous parameters didn't make much sense)