Main window designed