fixed issues with non-default layouts
added test for .txt files
added invalidation to the Tree for more efficiency
bump