Look like you left some debug code active maybe? Just updated and got the following error...
SmartArtilleryWagons/control.lua:36: attempt to index field 'multiple-unit-train-control-debug' (a nil value)
stack traceback:
SmartArtilleryWagons/control.lua:36: in main chunk