Init main window