Work on environment variable loading.
Fixing bugs.
Update compiler.
Merge branch '4.1'