Clean up the environment paths, add some new expand variables.
Add support for setting colors in settings.