Batching shaders added
Pathfindmanager memory leak fixing
Most memory leaks fixed. Still some remaining in specific code, see Comments