Backwards compatibility: set new parameters only if Lantern is built from git.
Fixes for backwards compatibility with master, add some utility shortcuts.