Cleaned up spawn.lua and changed to new message system.

Also fixed missing eof newline.
Cleaned up teleport and switched to new message system.

Also added missing eof newline.