Fixed warning messages in MainWindow and SetupManager that had to do
with Swing stuff.