replace multiple debug$FILTER() with a single debugFilter()
Merge branch 'master' of github.com:CVVisualPSETeam/CVVisual
remove unneeded and leaking heap-allocation
fix leaks