Can I remove context entries in a menu?

Yes! For example, let's hunt down Delete Vendor and 

var t = pMenu.actions();
for (var i = 0; i < t.length; i++) {
  if (t[i].text == "Delete Vendor...") {
    t[i].visible = false;
  }
}