Tidied processmanager
Tidied MainWindow