How many of those were decided by voter fraud, I don't know. GWB carried it both times despite Jesse Jackson's shenanigans to keep some polling places open later than they were supposed to be (I forget if that was in 2000 or 2004).
Missouri got to vote for President before it was officially admitted to the Union--it voted in the 1820 election (all of its votes went to Monroe, who won the electoral college 231 to 1), even though it wasn't officially a state until August 1821.
It was extremely close during CWI, as well. Fielded regular units to both sides of the conflict, as well as the infamous Guerillas.
A Union state that had the western tier of counties vacated by general order in an attempt to defuse the border war...