Create and show GUI on EDT.
Refactored configuration initialization logic to a separate method.