Core plugin: open-related actions are now disabled when no views are available (closes #440).