Fix warning.
Bring back the C functions.
Correctly setup __qt_this.
Comment out debug trace code statements.