Refreshing history for selected agents.

Also increased respawn to 20 in test.sim, to prevent agents getting stuck on spawn.