Reworked the teleportation algorithm. It's now much cleaner and should always work. It can no longer hang the game indefintly.
Added config options for teleportRangeMin and teleportRangeMax
Added check to load the new chunk if neccessary