Replaced all thread controlling functionality with dummy functions.
We don't need thread controlling for a single thread program.