(un)checking plugin menu items when plugins are (de)activated (issue #162)