MainWindow and Matrix Style