Ensure trees are not carried over from previously opened files.
Updated gitignore.