Add support for optional plugins

OK, but the loop simply ignores such a case. It could happen between two entries too, should they be separated by more than one white space. But we can leave it in, it's not costing much either way.