* removed unused var and the code maintaining it
* removed more of debugTrace
* simplify doxygen