Checking for more required variables.

Trying to use trackstop without ui or world results in a hard crash.