Fixed bug with overlap checking.
Primarily RDF & XML mode fixes.

Fixed RDF related issues.
Fixed schema settings bug.
Fixed isEntity bug.