removes a lot of self.* references in the MainWindow __init__ method
changes notification behaviour