brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team.