Added a trace to show polygon count
Fix deployment bug when building on Yosemite + Qt5 (ticket #4)