worked some more on gui problem with controller.getGroups()