fixed highlight colors
Use line ids to speed up DOM traversal, handle enter keys