Renamed entity_controller to pre_gen_simulated, and stripped out all non-simulation-related code.