fix: Keep precise account of environment changes to be cooperative with other tools.
- Keeps a precise journal of environment changes (set variables, append to variables, prepend to variables) and reverts these changes precisely as well.
- Fixes the issues with Python virtualenvs