Adding MigLayout.
Refactoring MainFrame for a better control placement.
Generic calculation of MainFrame minimal size.