Some post-election numbers
From the Minnesota unofficial election results:
John McCain 44%
Barack Obama 54%
Margin between Obama and McCain: 297890 votes
Votes for on-ballot third party candidates: 52079 votes (1.8%)
Write-in votes: hard to tell from the table, but looks like at least 9500 (probably not all tabulated yet)