There are a number of places where we do something like the following: ``` app = QApplication.instance() if app is None: app = QApplication(*args, **kwargs) ``` We should refactor so that all such calls go through `get_app_qt4` (https://github.com/enthought/pyface/blob/master/pyface/util/guisupport.py#L111) or something similar.