Just when I felt like I was starting to make some real progress, I get stopped spending 8 hours hunting down the cause of one bug in some code.

Some good news though is that I think I understand how to deal with the native side of XPCOM and the Mozilla string classes now.