Thread professor scheduling bug fixed. There might be deadlocks, not 100% still