Refactored PluginManager.ExecuteCommand a bit to (hopefully) make it more readable