More Emily train controller stuff