Thanks so much! Why don't you release this as a plugin? It's a nice idea I think and it would get many installs!
PS: I guess now I must find something else to make as my first php-hack

Maybe a male to female ratio I guess
It produced a database error cause it tried to SELECT from a table that didn't exist. For some reason it treated the database name as the prefix as well.
I'll look into the code and try to see if I can fix it although I consider it quite unlikely