MainWindow processor fixed, move and clean some code in editor