Implement fall damage and LastSafeSpot teleportation.

Also more .gitignore stuff.