updated GridBag.java with constraints and made the main menu better