def run(self):
        try:
            while(self.controller.__class__.running):
                sleep(1)
        except (KeyboardInterrupt, SystemExit):
                pass
main loop waiting for keyboard interrupt i.e. do nothing until user press 'X' or CTRL-C
dataset/ETHPy150Open ericgibert/supersid/supersid/textsidviewer.py/textSidViewer.run