Fixed loadError() function calls missing socket parameter

I think I got all of the cases where a connected browser could crash a
server that tried to restart/start up.