add LoadURI defrag
minor fixes
improve readability