This project has been an ongoing headache for me!
So I now have everything "working" except I cannot take my 18V AC ground trigger rail to DC - the relay chatters when a train is on the isolated section. I tried a diode and a capacitor, but it didn't make any difference.