improved logging & fixed mm bug

this bug fixes a bug where the MM accessed a peer object
after it has been disposed