fix bundled edges hit detection; add styles for labels as html