[#2212] CID25695:

removed dead code
[#2212] CID25686:

removed dead error checking for pthreads
[#2212] CID25685:

Corrected errant logic to intended behavior
[#2212] CID25673:

removed dead code
[#2212] CID25671:

corrected errant logic to intended behavior
[#2212] CID25663:

removed code related to checking pthread errors as we now use
boost::threads
[#2212] CID25662:

Corrected NULL check on character array to length check
[#2212] CID25657:

Corrected errant logic to intended behavior
[#2212] CID25651:

removed dead free
[#2212] CID25648:

corrected errant logic to intended behavior
[#2212] CID25645:

Removed dead error check, minor refactor for performance and clarity