Only run commands if _run prefs are true

Only run the supported commands if the preferences permit it.
bool() wrapper for some more preferences too.