Updated plugin system to force menu refresh and only run enabled plugins

This is in relation to issue #213.