Refine OpeningSensor, TrainControl, and Timer