Fixed A* path extraction
Removed some dependencies to SDL