CTD on starting up, just after login when the main screen pops up, the main screen stays there for 1 second and then crashes, can't even revert to the stock steam now

.
Also, in the old steam, just before I tried the beta, my friends were still gone.
EDIT:
Restarted for the 3rd time, now it says: ''Fatal Error: Failed to load platform modules''.