Add main form and widgets