Guard pages on green stacks.

Rebasing of the previous PRs, I believe I've found the problems.