A small mod requested on reddit.
When you are inside a train, and use the movement keys to try to move the train, the train will automatically switch to manual mode.
Now also includes an option to switch back to automatic mode when leaving the train.