Remove some thread stack hacks that aren't needed.
Merge pull request #430 from unknownbrackets/thread-funcs

Remove some thread stack hacks that aren't needed.