Increased framerate
Updated path finding to take -d parameter