Improved spawn immunity.

Checks if player moved rather than just delaying damage by 5 seconds.
Cleaned up some formatting.