Added toString() method to CThreadObjectMethod