This mod uses the builtin collision checking while flying towards the end of the docking strip (the path of lights) and away from the docking port.
In Order for the ship to get close enough to the docking port, I had to fall back to a method of movement without the builtin collision checking within those landing lights. On this final approach, I've implemented a means of collision checking with the docking port AND the station itself, but not with other surrounding objects.
Otherwise in weirdly shaped stations, the freighter would stop far away from docking ports in order to avoid "collisions" with the bounding boxes/spheres of said stations.
So as long as you stay out of landing strips, you should be absolutely fine.
Two more things that got improved versus vanilla behaviour is that now a freighter will use the collision avoidance movement on the way back to the end of the docking lights after its transaction, so you and other approaching freighters should be quite safe at least from collisions with departing ships.
The other thing that helps a great deal with collision avoidance is that now each freighter uses the docking port that is nearest to its position when entering a sector. Vanilla always used a single, fixed docking port for freight traffic.
The problem you describe in the other post mainly originates from that builtin collision prevention system. If the ship detects that it can't move to any direction without colliding with something, it will simply refuse to move. (eg: little fragments of salvage reaching into the ships' current bounding box/sphere) A solution for that behaviour could be implementing a "brute force" method after a certain time of immobility. Brute force meaning deactivating the collision detection and moving out of the debris field, even if collisions might occur.