Deprecated extension
Ignore text files
Added more blacklisted axes
Minor
Avoid undefined navigator
Minor improvements to removeEmptyElements

Removed some silly conditions when testing if not root that make less
sense as a result of inlining the function in a previous commit