perf fixes
Short description: optimized game Long description: totally redid the pathfinding algorithm, as well as adding some cooldown times for certain cases where pathfinding fails, to reduce the total number of pathfinding attempts during any particular frame. Also cleaned up some unnec

