Added custom main window