simulator: fix episodeWillBeOver() and some clean-ups
problems: no need to call shouldWriteOutput()

this is already done by the simulator...