Thankfully improvements in rail architecture could happen while improvements elsewhere are made. While ideally it would be nice to instantly prioritize which is most important to budget for, etc. Starting somewhere will be better than spending 50 years arguing budget.
Japan has had only 5 deaths in the past 45~ years with far more train operation and having bullet trains. With the only fatal occurrence happening due to an earthquake.
(Pre-1960's had only a few accidents, though high fatalities...)
[0] https://en.wikipedia.org/wiki/Category:Derailments_in_Japan