HUGE improvement to performance with pathfinding algorithm. Changed openList and closedList to member variables, preventing them from being allocated every time a path is generated. This means that two threads MUST not call getPath() at the same time.
Some stuff