Changed to GridBagLayout for more flexibility among other modifications.