Fixed stray THREADED define

Allso made all functions HOT