* Tidied up the code.
 * Changed some code to use the teleport datum features.
 * Fixed a broken check in the teleport datum.