Full support for mpc; fixed bugs in priority (would never be set for send) and use mpcId