Fix tab order. Fix main form autosize.