Added main window layout settings management