Don't allow .git to be deleted
Make output submodule track the master branch
Various fixes and tweaks to the Elegant configuration