Add support for submodules in pathtoentry
Document use of defer in prefs