Added a guard to wikiview.py plugin so the ctor doesn't crash with a unit-test gui.

Leo build: 20141117065708