Removed unnecessary condition in thread runner and some small refactoring.

modified:   usr/src/libtgecore/tgeCoreRunner.hpp