Improved C++ side debugging, printing.