Using the end of tracks, I found gates without that problem. As a side effect, they are smaller, too.
Trains don't have any orders. red=1, green=0
Even if a train can move along the full track (all inputs green), it will always be at one end, giving the right output. Don't try this with regular trains, it won't work

Reaction time:
With 22 NOT-gates in a row, a small delay (~1 tile for a maglev1-train) is visible.
16 OR-gates in a row (e.g. in a 16bit ripple carry adder) don't generate any delay.
It's possible to create very small logic elements with them:
4 full adders (some gates are bent to fit in)
multiplexer design just with AND and NOT. only one of eight 16bit-inputs is completed.
(1bit register (the new value is stored before the old value gets deleted))
Is it possible to copy trains (without orders) with the copy&paste-patch? I don't know how I can use it... but it should be possible to create a nice ALU or even a CPU with it.
Edit: Changed image format to .png