Replace std::cout with LogDebug. Remove not needed includes.

* Replace std::cout with LogDebug 
* Remove spurious includes
* Remove commented out lines