Several smal bug fixes in graph display