include fixes.
virtual destructor fix
const fixes
Merge pull request #304 from esc24/cplusplus_fixes

C++ fixes to _trace.cpp and _trace.h