Added grid layout to gui