* added Edict::toggleActive()
* added Edict::setActive()
* reduce scope