authLevel dodan, cleanup, MainWindow preformatiran