Fixed problem where threads weren't getting signaled
Remove random debug messages