Made dprintf print a rpc debug message
Fixed bug setting joint attributes