Improve handling of no trains and leaving trains.
Bump version to 1.0.1.