Fix: thunk status bug. Also added extra debug output.