Turn off MPRIS if no $DISPLAY available

See commit messages for details. Fixes #311.