Added a new error check in the thread object's Win32 impl.
Fixed a few minor issues in the thread impl.
Merge branch 'master' of github.com:dacracker/nxdragon