MainWindow will remove itself from the observer list of PowerServer