[FIX] Thread: initialized pointers inside constructor
Merge pull request #450 from esiragusa/fix/thread

Fixed Thread class