Variable declaration changed
Added MainWindow console