Write-ins matter, black votes matter and other takeaways from a election surprise with sweeping implications.