Fixed massive pointer misuse in Body creation, switched to more flexible
debug message system.