bugfix in removal of segment view, added measurement and display of segment sizes in canvas