I am not British nor familiar with British politics. Is there any article that tries to explain the reasons behind what happened? Labours were something like 20% behind when the vote was called, but went close to winning yesterday.
Anecdote - There wasn't any particular party that I wanted to vote for. My vote was against the Tories in protest of having to give up essential liberties for a bit of temporary safety.