Revert "Revert "Set active environment frame during Procedure extent""

Heh. Ok. We do want active frames.

Conflicts:
	ccc/base/environment.js
Procedures once again capture a derivative environment on generation