add missing imports to wsview.py

In 1.7.2, wsview.py is broken due to missing imports.  This PR adds those imports.