added simple nuiTaskThread class to handle worker threads based on nuiTask