Added main frame.