Extend EditOPI enabling to include OPIViews
Move EditOPI handler enabled state from XML to code

- tie menu visibility to enabled handler
- add comments