Rubber ducking
That sounds fun. Or not.

I spotted some places in the code where errors weren't properly handled.