conditional context menu

Cinnamon 2.0 adds 'Configure', 'Remove' automatically.
prefer `let` to `var` in loops