minor gui changes & barycenter calc