Main window layout manager was changed to BorderLayout