For super long range turrets normally a fast lock on missile is the best, though certainly not the most satisfying.
Apparently giving them a bare bones cannon>beam system will increase the detection range of any AI, not that I can speak for it myself never done it. For small "long range" cannon turrets I've used Cannon>Cannon at a 2;1 ratio, and with enough of them they can actually penetrate deep and often enough to core things outside traditional AMC range (at only 55 mass too). Layering the shots can help too, like putting one firing cannon behind the other, gives it a natural Punch Through, and also makes the shot look larger. On effects I think small (like under 100 mass) rapid fire AMC's and Missile turrets probably benefit more from Overdrive, since they have trouble causing block damage with their DPP (damage per projectile) anyway, and the penetration would be wasted.
A sorting loading rail can definitely be done, not sure the exact circuit but I've been thinking about it
Assume it uses a button next to a rail before each fighter bay, being activated every time a ship goes over that rail basic, causing a connected flip flop to toggle, causing a second button to toggle and switch the rail allignment for the entry rail to that bay to instead route to the next bay in the line, maybe with a delay somewhere in there so the ship can actually pass the rail to dock/undock before it switches.
Sorry if that's not very easy to understand, or completely wrong lol, at any rate I got the idea from Bench's rail tutorial videos so definitely give those a look if you haven't already.