While there were many factors that came into play, fundamentally Ken lost because of Ken.
That's the bottom line. He was a badly flawed candidate. If you can't beat an odious creep like McAuliffe, you have other important issues besides campaign funding and the presence of a Libertarian on the ballot.
Bingo!