Continue implementation of DefaultMoveMakingController, bug fixes in MId and MRef.