removed "cont" from getBestCandidate method
CMakeLists.txt now supports Threads
bezier fitting sample now uses ThreadsDE
fixed bugs enough to have a compilable code