Fix a potential crash with an empty BVEC_ats,cfg file
Shift steam locomotives to the newer configuration loading model.
Various areas of small code cleanups.