Make the graphs editor work on touchscreens
Some visualization improvements