configuring main window