worng method called for number of templates in ofApp.cpp, fixed by changing to getNumberOfGestureTemplates()