Adding debugging code.
Adding more debug/tracing code but I still can't isolate the problem. :|