Disable MI commands when presence is in lib mode.

Reported by Carlos Oliva @telematico, closing #382