Globalized the "displayFunc" function so it can be referenced from different points in the code.
Globalized the "displayFunc" function so it can be referenced from different points in the code.

ecohealthalliance/tangelo,aashish24/tangelo,ecohealthalliance/tangelo,aashish24/tangelo,mathstuf/tangelo,ecohealthalliance/tangelo,Kitware/tangelo,mathstuf/tangelo,Kitware/tangelo,mathstuf/tangelo,aashish24/tangelo,Kitware/tangelo