Fixed double registration bug in CThreadObjectMethod construction
Removed debug