use v3.1
make control options explicit
allow adjusting directions by dragging points and recompute elevation profile