Added auto join after death.

Added various patches to prevent other-world inventory loss.