I think Florida election laws allowed a recount if the votes were so close. It has to be really close.
I think it was something like 1/2 of 1%, and it was not close enough in FL for an automatic recount. I don't know about lawsuits . . .