I'm no Squatty, but I hope I can help.
I'd guess that your uninstall wasn't working because it should have issued a SQL statement "select something from something WHERE...." and it wasn't correctly mapping one variable to one of the "somethings", so it was going in blank.
And I'd guess you successfully uninstalled it, by deleting that line, or something.
So I'll guess that you didn't muck with any tables or any fields in those database tables.
In other words, I'll bet you still have a problem with a blank line or entry somewhere in one of the stats associated tables. (Or, if not a blank line, something with a disallowed escape sequence.) Have you checked the database, directly, using PHPMySQL or something like that?
If not, you're welcome to e-mail me (I think you can do that directly from my "author" link above), and I'll check my installation for other clues when I get home (and after I put my kid to bed.)