Two server-only crash-fixes and one disconnect bug.