Creates tasks for spawn location detection and encounter spawning. Addresses issue #4. This adds the configuration directive for maxLockTime.