updated the GUI. changed the layout into grid bag