added contour functionality to director ui, fully working.

Signed-off-by: Carlos Sanchez Witt <carlos.sanchezwitt@epfl.ch>