Crash fixed (for now)

Pathfinding is still unfinished and we're leaking memory out the ass
right now